-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag
- Text truncation for overflow fix
#2655
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great, although I did find an interesting "bug"
The tooltip is still there even if the text is fully revealed. Wonder if there is a way to fix this?
UPDATE: It looks like something that was once truncated, but then isn't will have a tooltip. We should also check screen reader behavior. Does the text get read out twice or just once? I think we can loop in the entire team for A11Y
📌 Summary
This PR examines the overflow issue present when text wraps to > 3 lines, and solves it by forcing all text to be one line, and have a character limit of 20 characters before being truncated.
🛠️ Detailed description
📸 Screenshots
🔗 External links
Jira ticket: HDS-4317
Figma file: [if it applies]
👀 Component checklist
💬 Please consider using conventional comments when reviewing this PR.